<%@ page import="java.awt.*" %>
<%@ page import="java.util.List" %>
<%@ page import="pojo.ST" %><%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2022/3/1
  Time: 10:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    
    <title>Title</title>
<style>

    body{
        background-image:linear-gradient(to right, #ffc6e2, #ccb4ff);
    }

    div{
        background-color: white ;
        width: 300px;
        height: 150px;
        border-radius: 20px;
        opacity: 0.9;
        margin-left: auto;
        margin-right: auto;
        margin-top: 180px;
    }

    .alter {
        border: 2px solid #080a0b;
        border-radius: 10px;
        width: 200px;
        height: 35px;
    }


    button{
        background-color: white;
        color: #c7a9ff;

    }
    a{
        text-decoration:none;
    }


</style>

</head>

<body>
<form name="form1" action="AlterServlet" method="get">
    <%--<%--%>
        <%--String objId = "";--%>
        <%--String objStatus = "";--%>
        <%--try {--%>
            <%--List<ST> stList= (List<ST>) request.getAttribute("obj_data1");--%>
            <%--System.out.println(stList.size());--%>
            <%--for (int i = 0; i < stList.size(); i++) {--%>
                <%--out.print(stList.get(i).getStudentID()+" ");--%>
                <%--out.print(stList.get(i).getStudentName()+" ");--%>
                <%--out.print(stList.get(i).getStudentDate()+" ");--%>
                <%--out.print(stList.get(i).getStudentNumber()+" ");--%>
                <%--out.print(stList.get(i).getStudentSemester()+" ");--%>
               <%--// out.print(stList.get(i).getStudentStatus()+"</br>");--%>
                <%--objStatus = stList.get(i).getStudentStatus();--%>
                <%--objId =  stList.get(i).getStudentID();--%>
                <%--request.setAttribute("objId",objId);--%>
                <%--request.setAttribute("objStatus",objStatus);--%>
            <%--}--%>
        <%--}catch (Exception e){--%>
            <%--e.printStackTrace();--%>
        <%--}--%>

    <%--%>--%>

    <%--<select name="op">--%>
        <%--<option value="1">A</option>--%>
        <%--<option value="2">L</option>--%>
        <%--</select> <br>--%>
    <%--<input type="submit" value="确认提交" onClick="right()">--%>


<button><a href="Init.jsp">上一页</a></button>
        <%--value=<%= objId %>--%>
        <div style="text-align:center;vertical-align:middle;">
               <h2>请输入您要修改的学生ID</h2><input name="id" class="alter" >
              <input type="submit" value="确认"  >
        </div>
</form>



</body>
</html>
